package tech.yingchuan.blogs.controller.after;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 内容管理
 * @author 丁广义
 */
@RequestMapping("/afterResource/content/")
@Controller
public class ContentController {

    /**
     * 内容撰写页面
     * @return
     */
    @RequestMapping("content.html")
    public String contentPage(){
        return "afterResource/content/content";
    }

    /**
     * 内容列表
     * @return
     */
    @RequestMapping("contentlist.html")
    public String contentlistPage(){
        return "afterResource/content/contentlist";
    }

    /**
     * 内容展示页面
     * @return
     */
    @RequestMapping("readContent.html")
    public String readContentPage(){
        return "afterResource/content/read-content";
    }
}
